﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Os.WebUI.Controllers
{
    public class ErrorController : Controller
    {
        public ErrorController()
        {
            if (Request.QueryString["aspxerrorpath"] != null)
            {
                ViewData["Pagina"] = Request.QueryString["aspxerrorpath"].ToString();
            }
        }
        //
        // GET: /Error/
        [HttpGet]
        public ActionResult Index()
        {
            return View();
        }

        [HttpGet]
        public ActionResult Exception()
        {
            return View();
        }
    }
}
